package com.ruoyi.mf178.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * mf178对象 mf178_order
 *
 * @author ruoyi
 * @date 2025-07-18
 */
public class Mf178Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增Id */
    private Long id;

    /** 平台自身订单号 */
    @Excel(name = "平台自身订单号")
    private String platformOrderNo;

    /** 调用方订单号 */
    @Excel(name = "调用方订单号")
    private String externalOrderNo;

    /** 供应商订单号 */
    @Excel(name = "供应商订单号")
    private String supplierOrderNo;

    /** 客户AppKey */
    @Excel(name = "客户AppKey")
    private String appKey;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String customerCode;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal salePrice;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal costPrice;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profit;

    /** 订单摘要 */
    @Excel(name = "订单摘要")
    private String orderSummary;

    /** 平台自身商品名称 */
    @Excel(name = "平台自身商品名称")
    private String platformGoodsName;

    /** 调用方商品名称 */
    @Excel(name = "调用方商品名称")
    private String externalGoodsName;

    /** 供应商商品名称 */
    @Excel(name = "供应商商品名称")
    private String supplierGoodsName;

    /** 平台自身商品id */
    @Excel(name = "平台自身商品id")
    private Long platformGoodsId;

    /** 调用方商品id */
    @Excel(name = "调用方商品id")
    private Long externalGoodsId;

    /** 供应商商品id */
    @Excel(name = "供应商商品id")
    private Long supplierGoodsId;

    /** 平台自身商品编码 */
    @Excel(name = "平台自身商品编码")
    private String platformGoodsCode;

    /** 调用方商品编码 */
    @Excel(name = "调用方商品编码")
    private String externalGoodsCode;

    /** 供应商商品编码 */
    @Excel(name = "供应商商品编码")
    private String supplierGoodsCode;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer orderStatus;

    /** 订单子状态 */
    @Excel(name = "订单子状态")
    private String subOrderStatus;

    /** 兑换链接格式 */
    @Excel(name = "兑换链接格式")
    private String cardType;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;

    /** 密码或兑换链接 */
    @Excel(name = "密码或兑换链接")
    private String cardPwd;

    /** 兑换有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "兑换有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cardTime;

    /** 卡密拓展信息 */
    @Excel(name = "卡密拓展信息")
    private String cardExtendInfo;

    /** 下单原始请求 */
    @Excel(name = "下单原始请求")
    private String rawRequest;

    /** 请求Ip */
    @Excel(name = "请求Ip")
    private String requestIp;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundPrice;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 通知返回数据 */
    @Excel(name = "通知返回数据")
    private String notifyResponse;

    /** 卡密是否使用 */
    @Excel(name = "卡密是否使用")
    private Boolean cardUsed;

    /** 卡密使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "卡密使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cardUsedTime;

    /** 取餐口令 */
    @Excel(name = "取餐口令")
    private String pickUpRemark;

    /** 卡密是否作废 */
    @Excel(name = "卡密是否作废")
    private Boolean isCardDrop;

    /** 是否成功核销 */
    @Excel(name = "是否成功核销")
    private Boolean usedSuccess;

    /** 商品supplierService */
    @Excel(name = "商品supplierService")
    private String goodSupplierService;

    @Excel(name = "myxRequest")
    private String myxRequest;

    @Excel(name = "myxResponse")
    private String myxResponse;

    public String getMyxRequest() {
        return myxRequest;
    }

    public void setMyxRequest(String myxRequest) {
        this.myxRequest = myxRequest;
    }

    public String getMyxResponse() {
        return myxResponse;
    }

    public void setMyxResponse(String myxResponse) {
        this.myxResponse = myxResponse;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setPlatformOrderNo(String platformOrderNo)
    {
        this.platformOrderNo = platformOrderNo;
    }

    public String getPlatformOrderNo()
    {
        return platformOrderNo;
    }

    public void setExternalOrderNo(String externalOrderNo)
    {
        this.externalOrderNo = externalOrderNo;
    }

    public String getExternalOrderNo()
    {
        return externalOrderNo;
    }

    public void setSupplierOrderNo(String supplierOrderNo)
    {
        this.supplierOrderNo = supplierOrderNo;
    }

    public String getSupplierOrderNo()
    {
        return supplierOrderNo;
    }

    public void setAppKey(String appKey)
    {
        this.appKey = appKey;
    }

    public String getAppKey()
    {
        return appKey;
    }

    public void setCustomerCode(String customerCode)
    {
        this.customerCode = customerCode;
    }

    public String getCustomerCode()
    {
        return customerCode;
    }

    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }

    public void setSalePrice(BigDecimal salePrice)
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice()
    {
        return salePrice;
    }

    public void setCostPrice(BigDecimal costPrice)
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice()
    {
        return costPrice;
    }

    public void setProfit(BigDecimal profit)
    {
        this.profit = profit;
    }

    public BigDecimal getProfit()
    {
        return profit;
    }

    public void setOrderSummary(String orderSummary)
    {
        this.orderSummary = orderSummary;
    }

    public String getOrderSummary()
    {
        return orderSummary;
    }

    public void setPlatformGoodsName(String platformGoodsName)
    {
        this.platformGoodsName = platformGoodsName;
    }

    public String getPlatformGoodsName()
    {
        return platformGoodsName;
    }

    public void setExternalGoodsName(String externalGoodsName)
    {
        this.externalGoodsName = externalGoodsName;
    }

    public String getExternalGoodsName()
    {
        return externalGoodsName;
    }

    public void setSupplierGoodsName(String supplierGoodsName)
    {
        this.supplierGoodsName = supplierGoodsName;
    }

    public String getSupplierGoodsName()
    {
        return supplierGoodsName;
    }

    public void setPlatformGoodsId(Long platformGoodsId)
    {
        this.platformGoodsId = platformGoodsId;
    }

    public Long getPlatformGoodsId()
    {
        return platformGoodsId;
    }

    public void setExternalGoodsId(Long externalGoodsId)
    {
        this.externalGoodsId = externalGoodsId;
    }

    public Long getExternalGoodsId()
    {
        return externalGoodsId;
    }

    public void setSupplierGoodsId(Long supplierGoodsId)
    {
        this.supplierGoodsId = supplierGoodsId;
    }

    public Long getSupplierGoodsId()
    {
        return supplierGoodsId;
    }

    public void setPlatformGoodsCode(String platformGoodsCode)
    {
        this.platformGoodsCode = platformGoodsCode;
    }

    public String getPlatformGoodsCode()
    {
        return platformGoodsCode;
    }

    public void setExternalGoodsCode(String externalGoodsCode)
    {
        this.externalGoodsCode = externalGoodsCode;
    }

    public String getExternalGoodsCode()
    {
        return externalGoodsCode;
    }

    public void setSupplierGoodsCode(String supplierGoodsCode)
    {
        this.supplierGoodsCode = supplierGoodsCode;
    }

    public String getSupplierGoodsCode()
    {
        return supplierGoodsCode;
    }

    public void setBrandName(String brandName)
    {
        this.brandName = brandName;
    }

    public String getBrandName()
    {
        return brandName;
    }

    public void setOrderStatus(Integer orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderStatus()
    {
        return orderStatus;
    }

    public void setSubOrderStatus(String subOrderStatus)
    {
        this.subOrderStatus = subOrderStatus;
    }

    public String getSubOrderStatus()
    {
        return subOrderStatus;
    }

    public void setCardType(String cardType)
    {
        this.cardType = cardType;
    }

    public String getCardType()
    {
        return cardType;
    }

    public void setCardNo(String cardNo)
    {
        this.cardNo = cardNo;
    }

    public String getCardNo()
    {
        return cardNo;
    }

    public void setCardPwd(String cardPwd)
    {
        this.cardPwd = cardPwd;
    }

    public String getCardPwd()
    {
        return cardPwd;
    }

    public void setCardTime(Date cardTime)
    {
        this.cardTime = cardTime;
    }

    public Date getCardTime()
    {
        return cardTime;
    }

    public void setCardExtendInfo(String cardExtendInfo)
    {
        this.cardExtendInfo = cardExtendInfo;
    }

    public String getCardExtendInfo()
    {
        return cardExtendInfo;
    }

    public void setRawRequest(String rawRequest)
    {
        this.rawRequest = rawRequest;
    }

    public String getRawRequest()
    {
        return rawRequest;
    }

    public void setRequestIp(String requestIp)
    {
        this.requestIp = requestIp;
    }

    public String getRequestIp()
    {
        return requestIp;
    }

    public void setRefundTime(Date refundTime)
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime()
    {
        return refundTime;
    }

    public void setRefundPrice(BigDecimal refundPrice)
    {
        this.refundPrice = refundPrice;
    }

    public BigDecimal getRefundPrice()
    {
        return refundPrice;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setNotifyResponse(String notifyResponse)
    {
        this.notifyResponse = notifyResponse;
    }

    public String getNotifyResponse()
    {
        return notifyResponse;
    }

    public void setCardUsed(Boolean cardUsed)
    {
        this.cardUsed = cardUsed;
    }

    public Boolean getCardUsed()
    {
        return cardUsed;
    }

    public void setCardUsedTime(Date cardUsedTime)
    {
        this.cardUsedTime = cardUsedTime;
    }

    public Date getCardUsedTime()
    {
        return cardUsedTime;
    }

    public void setPickUpRemark(String pickUpRemark)
    {
        this.pickUpRemark = pickUpRemark;
    }

    public String getPickUpRemark()
    {
        return pickUpRemark;
    }

    public void setIsCardDrop(Boolean isCardDrop)
    {
        this.isCardDrop = isCardDrop;
    }

    public Boolean getIsCardDrop()
    {
        return isCardDrop;
    }

    public void setUsedSuccess(Boolean usedSuccess)
    {
        this.usedSuccess = usedSuccess;
    }

    public Boolean getUsedSuccess()
    {
        return usedSuccess;
    }

    public void setGoodSupplierService(String goodSupplierService)
    {
        this.goodSupplierService = goodSupplierService;
    }

    public String getGoodSupplierService()
    {
        return goodSupplierService;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("platformOrderNo", getPlatformOrderNo())
                .append("externalOrderNo", getExternalOrderNo())
                .append("supplierOrderNo", getSupplierOrderNo())
                .append("appKey", getAppKey())
                .append("customerCode", getCustomerCode())
                .append("customerName", getCustomerName())
                .append("salePrice", getSalePrice())
                .append("costPrice", getCostPrice())
                .append("profit", getProfit())
                .append("orderSummary", getOrderSummary())
                .append("platformGoodsName", getPlatformGoodsName())
                .append("externalGoodsName", getExternalGoodsName())
                .append("supplierGoodsName", getSupplierGoodsName())
                .append("platformGoodsId", getPlatformGoodsId())
                .append("externalGoodsId", getExternalGoodsId())
                .append("supplierGoodsId", getSupplierGoodsId())
                .append("platformGoodsCode", getPlatformGoodsCode())
                .append("externalGoodsCode", getExternalGoodsCode())
                .append("supplierGoodsCode", getSupplierGoodsCode())
                .append("brandName", getBrandName())
                .append("orderStatus", getOrderStatus())
                .append("subOrderStatus", getSubOrderStatus())
                .append("cardType", getCardType())
                .append("cardNo", getCardNo())
                .append("cardPwd", getCardPwd())
                .append("cardTime", getCardTime())
                .append("cardExtendInfo", getCardExtendInfo())
                .append("rawRequest", getRawRequest())
                .append("requestIp", getRequestIp())
                .append("refundTime", getRefundTime())
                .append("refundPrice", getRefundPrice())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("notifyResponse", getNotifyResponse())
                .append("cardUsed", getCardUsed())
                .append("cardUsedTime", getCardUsedTime())
                .append("pickUpRemark", getPickUpRemark())
                .append("isCardDrop", getIsCardDrop())
                .append("usedSuccess", getUsedSuccess())
                .append("goodSupplierService", getGoodSupplierService())
                .toString();
    }
}
